* An #GtkToolItemGroup is used together with #GtkToolPalette to add #GtkToolItem<!-- -->s to a palette like container
* with different categories and drag and drop support.
*
- * Since: 2.18
+ * Since: 2.20
*/
enum
*
* Returns: a new #GtkToolItemGroup.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkWidget*
gtk_tool_item_group_new (const gchar *label)
* Sets the label of the tool item group. The label is displayed in the header
* of the group.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_label (GtkToolItemGroup *group,
* Sets the label of the tool item group. The label is displayed in the header
* of the group.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_label_widget (GtkToolItemGroup *group,
* Set the button relief of the group header. See #gtk_button_set_relief for
* details
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_header_relief (GtkToolItemGroup *group,
*
* Sets whether the @group should be collapsed or expanded.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_collapsed (GtkToolItemGroup *group,
*
* Sets the ellipsization mode which should be used by labels in @group.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_ellipsize (GtkToolItemGroup *group,
*
* Returns: the label of @group. The label is an internal string of @group and must not be modified.
*
- * Since: 2.18
+ * Since: 2.20
*/
G_CONST_RETURN gchar*
gtk_tool_item_group_get_label (GtkToolItemGroup *group)
*
* Returns: the label of @group. The label is an internal string of @group and must not be modified.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkWidget*
gtk_tool_item_group_get_label_widget (GtkToolItemGroup *group)
*
* Returns: %TRUE if @group is collapsed, %FALSE if it is expanded.
*
- * Since: 2.18
+ * Since: 2.20
*/
gboolean
gtk_tool_item_group_get_collapsed (GtkToolItemGroup *group)
*
* Returns: the #PangoEllipsizeMode of @group.
*
- * Since: 2.18
+ * Since: 2.20
*/
PangoEllipsizeMode
gtk_tool_item_group_get_ellipsize (GtkToolItemGroup *group)
*
* Returns: the #GtkReliefStyle
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkReliefStyle
gtk_tool_item_group_get_header_relief (GtkToolItemGroup *group)
*
* Inserts @item at @position in the list of children of @group.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_insert (GtkToolItemGroup *group,
*
* Sets the position of @item in the list of children of @group.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_item_group_set_item_position (GtkToolItemGroup *group,
*
* Returns: the index of @item in @group or -1 if @item is no child of @group.
*
- * Since: 2.18
+ * Since: 2.20
*/
gint
gtk_tool_item_group_get_item_position (GtkToolItemGroup *group,
*
* Returns: the number of tool items in group.
*
- * Since: 2.18
+ * Since: 2.20
*/
guint
gtk_tool_item_group_get_n_items (GtkToolItemGroup *group)
*
* Returns: the #GtkToolItem at index.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkToolItem*
gtk_tool_item_group_get_nth_item (GtkToolItemGroup *group,
*
* Returns: the #GtkToolItem at position (x, y).
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkToolItem*
gtk_tool_item_group_get_drop_item (GtkToolItemGroup *group,
* GDK_ACTION_COPY);
* ]|
*
- * Since: 2.18
+ * Since: 2.20
*/
typedef struct _GtkToolItemGroupInfo GtkToolItemGroupInfo;
*
* The ::set-scroll-adjustments when FIXME
*
- * Since: 2.18
+ * Since: 2.20
*/
wclass->set_scroll_adjustments_signal =
g_signal_new ("set-scroll-adjustments",
* application toolbars should respect the user preferences for the
* size of icons.
*
- * Since: 2.18
+ * Since: 2.20
*/
g_object_class_install_property (oclass,
PROP_ICON_SIZE,
*
* Returns: a new #GtkToolPalette.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkWidget*
gtk_tool_palette_new (void)
*
* Sets the size of icons in the tool palette.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_set_icon_size (GtkToolPalette *palette,
* Unsets the tool palette icon size set with gtk_tool_palette_set_icon_size(), so that
* user preferences will be used to determine the icon size.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_unset_icon_size (GtkToolPalette *palette)
*
* Sets the style (text, icons or both) of items in the tool palette.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_set_style (GtkToolPalette *palette,
*
* Returns: the #GtkIconSize of icons in the tool palette.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkIconSize
gtk_tool_palette_get_icon_size (GtkToolPalette *palette)
*
* Returns: the #GtkToolbarStyle of items in the tool palette.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkToolbarStyle
gtk_tool_palette_get_style (GtkToolPalette *palette)
* If position is 0 the group will become the first child, if position is
* -1 it will become the last child.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_set_group_position (GtkToolPalette *palette,
* Sets whether the group should be exclusive or not. If an exclusive group is expanded
* all other groups are collapsed.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_set_exclusive (GtkToolPalette *palette,
*
* Sets whether the group should be given extra space.
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_set_expand (GtkToolPalette *palette,
*
* Returns: the index of group or -1 if @group is not a child of @palette.
*
- * Since: 2.18
+ * Since: 2.20
*/
gint
gtk_tool_palette_get_group_position (GtkToolPalette *palette,
*
* Returns: %TRUE if group is exclusive.
*
- * Since: 2.18
+ * Since: 2.20
*/
gboolean
gtk_tool_palette_get_exclusive (GtkToolPalette *palette,
*
* Returns: %TRUE if group should be given extra space, %FALSE otherwise.
*
- * Since: 2.18
+ * Since: 2.20
*/
gboolean
gtk_tool_palette_get_expand (GtkToolPalette *palette,
*
* Returns: the #GtkToolItem at position or %NULL if there is no such item.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkToolItem*
gtk_tool_palette_get_drop_item (GtkToolPalette *palette,
*
* Returns: the #GtkToolItemGroup at position or %NULL if there is no such group.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkWidget*
gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
*
* Returns: the dragged item in selection.
*
- * Since: 2.18
+ * Since: 2.20
*/
GtkWidget*
gtk_tool_palette_get_drag_item (GtkToolPalette *palette,
*
* See gtk_drag_source_set().
*
- * Since: 2.18
+ * Since: 2.20
*
*/
void
*
* See gtk_drag_dest_set().
*
- * Since: 2.18
+ * Since: 2.20
*/
void
gtk_tool_palette_add_drag_dest (GtkToolPalette *palette,
*
* Returns: the #GtkTargetEntry for a dragged item.
*
- * Since: 2.18
+ * Since: 2.20
*/
G_CONST_RETURN GtkTargetEntry*
gtk_tool_palette_get_drag_target_item (void)
*
* Returns: the #GtkTargetEntry for a dragged group.
*
- * Since: 2.18
+ * Since: 2.20
*/
G_CONST_RETURN GtkTargetEntry*
gtk_tool_palette_get_drag_target_group (void)